<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>项目基本信息</title>
    <link href="../../Scripts/jquery-easyui/themes/bootstrap/easyui.css" rel="stylesheet" />
    <script src="../../Scripts/jquery-easyui/jquery.min.js"></script>
    <script src="../../Scripts/jquery-easyui/jquery.easyui.min.js"></script>
    <script src="../../Scripts/jquery-easyui/locale/easyui-lang-zh_CN.js"></script>
    <link href="../../Content/themes/icon.css" rel="stylesheet" />
    <link href="../../Content/themes/table.css" rel="stylesheet" />
    <link href="../../Content/formstyles.css" rel="stylesheet" />
    <script src="../../Content/js/common.js"></script>  
</head> 
<body>
    <div id="ui_pm_layout" class="easyui-layout" data-options="fit:true,border:false">
        
        <div data-options="region:'center',border:false">
            <div class="easyui-panel" title="基本信息" style="width:100%;height:auto;padding:10px;">

                <div>
                    <input type="hidden" name="ProjectID" id="ProjectID" />
                    <input type="text" class="easyui-textbox" id="ProjectNo" data-options="width:200, label:'项目编码',labelPosition:'before',labelWidth:80,labelAlign:'right',readonly:false" />
                    <input type="text" class="easyui-textbox" id="ProjectName" data-options="width:300,label:'项目名称',labelPosition:'before',labelWidth:80,labelAlign:'right',readonly:false" />
                    <input name="mainItemCode" id="mainItemCode" class="easyui-combox" data-options="width:200,label:'主物料代码:',labelPosition:'before',labelWidth:80,labelAlign:'right'">
                 </div>
               
                <div >
                    <input type="text" class="easyui-textbox" id="ProjectManager" data-options="width:200,label:'项目管理员',labelPosition:'before',labelWidth:80,labelAlign:'right',readonly:false" />
                    <input type="text" class="easyui-textbox" id="ProjectClerk" data-options="width:200,label:'业务员',labelPosition:'before',labelWidth:80,labelAlign:'right',readonly:false" />
                    <input class="easyui-combobox" id="comDepartmentList" name="comDepartmentList" data-options="width:200,label:'部门',labelPosition:'before',labelWidth:80,labelAlign:'right', required:true, valueField: 'DepartmentName', textField: 'DepartmentName',url: '/Project/SelectDepartment',readonly:false ">
  </div>
           
                <div >                
                    <input id="Remark" class="easyui-textbox" data-options="width:600,height:100,label:'项目描述',labelPosition:'before',labelWidth:80,labelAlign:'right',multiline:true,readonly:false">
                </div>    
           
            </div>
        </div>
    </div>
	<script type="text/javascript">
		// $(function(){
		// 	$('#mainItemCode').combobox({
		// 	    mode: 'remote',  //模式： 远程获取数据
		// 	    url: '/Common/AutoComplete_ItemCode',  //远程数据请求地址
		// 	    valueField: 'FName', 　　//value对应的属性字段
		// 	    textField: 'FNumber',　　　 //text对应的属性字段
		// 	    formatter: function (row) {
		// 	        var opts = $(this).combobox('options');
		// 	        return row[opts.textField] + " " + row[opts.valueField];
		// 	    },
		// 	    onChange: function (newValue, oldValue) {
		// 	       // $("#mainItemName").textbox('setValue', newValue); 
		// 	    } 
		// 	});
			
		// })
	</script>
</body> 
</html>



